/*
 * Copyright 2007 Johan Andries
 *
 * This file is released under the LGPL v2.1.
 * 
 * This file may be redistributed under the terms of the Library GNU Public
 * License.
 */

package rubymatic;

import org.hibernate.*;
import org.hibernate.cfg.*;
import org.jruby.Ruby;

public class ActiveHibernateUtil {

	/*
	 * This simple static construct must be replaced by the work described in
	 * http://jira.codehaus.org/browse/JRUBY-1212 as soon as it is released.
	 */
	
	private static Ruby rubyInstance;

	public static Ruby getRubyInstance() {
		return rubyInstance;
	}
	
	public static void setRubyInstance(Ruby ruby) {
		rubyInstance = ruby;
	}

}
